Standard array and syndrome decoding